package com.xml.test;

import android.app.Activity;
import android.os.Bundle;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.TextView;

public class XmlTestActivity extends Activity {
	/** Called when the activity is first created. */
	TextView text;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		text = (TextView) findViewById(R.id.myText);
		
		Animation animation = AnimationUtils.loadAnimation(this, R.anim.scale_anim);
		text.setAnimation(animation);
	}
}